Weekday

Returns a weekday integer that represents the day of the week for a date.

Syntax

Weekday("DateTimeString")

Arguments

Argument Description
DateTimeString Any date/time expression. See Date/time format examples for valid formats.

Return value

Value Description
Value Integer that corresponds with the day of the week in the date/time value. 1 is Sunday, 2 is Monday, etc.

Example

DayOfWeek = Weekday("8-June-2016")